<?php
/*Problem Domain
To create a class that provides CRUD interface for the Profile class
*/

interface ProfileDAO
{
        /*Profile -> boolean
        purpose. To save or update a given User Profile and return true on success , false otherwise*/
        public function saveOrUpdate($profile);

        /*Profile -> boolean
        purpose. To remove an existing User Profile and return true on success , false otherwise*/
        public function remove($profile);

        /*void -> ListUserType
        purpose. produces the entire list of User Profiles*/
        public function listProfiles();

}

?>
